class uniqSetLoop {
    int *const mySize;
    matrix *myItems;
    relabelSet *const myParent;
public:
    uniqSetLoop(int *theSize,matrix *theItems,relabelSet* theParent):
        mySize(theSize),
        myItems(theItems),
        myParent(theParent)
        {}
    void operator()(const tbb::blocked_range<size_t> &r)const {
        for (size_t i = r.begin(); i < r.end(); ++i) {
            for (int j = myParent->size - 1; j > i; --j) {
                myParent->checkMember (&myItems[i], &myItems[j]);
            }
            printf("Up to %d\n", i);
        }
    }
};
